import http from "@/utils/request"

// 添加角色
export let addRole = (roleid,token) => http.post("/permission/addrole",{
    roleid,token
})

// 获取角色列表
export let getRole = (roleid,token) => http.get("/permission/getrole?roleid="+roleid+"&token="+token)

// 获取权限菜单
export let getMenuApi = () => http.get("/permission/getMenuList")